package com.aorise.model.expose;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;


/**
 * @Auther: zhouhao
 * @Date: 2019/7/11
 * @Description:    无线网络状态(选配模块)
 */
@Validated
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="Wireless",description="无线网络状态(选配模块)")
public class Wireless {

    @ApiModelProperty(value = "正常:0,断网: 1",example = "30",dataType = "int")
    private Integer Status;

    @ApiModelProperty(value = " 26~31---满信号（5格）；" +
            "20~25---强信号（4格）；14~19---较强信号（3格）；" +
            "7~13---弱信号（2格）；0~6---微弱信号（1格）；" +
            "99---不在信号领域（0格），搜不到信号；",example = "30",dataType = "int")
    private Integer CSQ;

    @JsonProperty("Status")
    public Integer getStatus() {
        return Status;
    }

    @JsonProperty("Status")
    public void setStatus(Integer status) {
        Status = status;
    }

    @JsonProperty("CSQ")
    public Integer getCSQ() {
        return CSQ;
    }

    @JsonProperty("CSQ")
    public void setCSQ(Integer CSQ) {
        this.CSQ = CSQ;
    }
}
